package eurekasample.eurekafeignclient;

import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.RequestParam;
@Component
public class HiHystrix implements EurekaClientFeign {
    @Override
    public String sayHiFromEurekaClient(@RequestParam(value="name") String name){
        return "Hi,"+name+",sorry,error!";
    }
}
